<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>基础表单示例</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      margin: 20px;
    }
    form {
      max-width: 400px;
      margin: auto;
      padding: 20px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #f9f9f9;
    }
    label {
      display: block;
      margin-bottom: 10px;
    }
    input[type="text"],
    input[type="password"],
    select {
      width: 100%;
      padding: 10px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-sizing: border-box;
    }
    input[type="submit"] {
      width: 100%;
      padding: 10px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
    input[type="submit"]:hover {
      background-color: #45a049;
    }
  </style>
</head>
<body>
  <form action="/submit-form" method="post">
    <label for="username">用户名:</label>
    <input type="text" id="username" name="username" required>

    <label for="email">邮箱:</label>
    <input type="email" id="email" name="email" required>

    <label for="password">密码:</label>
    <input type="password" id="password" name="password" required>

    <label for="confirm-password">确认密码:</label>
    <input type="password" id="confirm-password" name="confirm-password" required>

    <label for="gender">性别:</label>
    <input type="radio" id="male" name="gender" value="male">
    <label for="male">男</label>
    <input type="radio" id="female" name="gender" value="female">
    <label for="female">女</label>

    <label for="interests">兴趣爱好:</label>
    <input type="checkbox" id="sports" name="interests" value="sports">
    <label for="sports">运动</label>
    <input type="checkbox" id="music" name="interests" value="music">
    <label for="music">音乐</label>
    <input type="checkbox" id="movies" name="interests" value="movies">
    <label for="movies">电影</label>

    <label for="country">国家:</label>
    <select id="country" name="country" required>
      <option value="">请选择</option>
      <option value="china">中国</option>
      <option value="usa">美国</option>
      <option value="uk">英国</option>
      <option value="japan">日本</option>
    </select>

    <input type="submit" value="提交">
  </form>
</body>
</html>